package cn.tjd.jwttest.controller;

import cn.tjd.jwttest.config.mvc.BaseController;
import cn.tjd.jwttest.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Auther: TJD
 * @Date: 2020-02-02
 * @DESCRIPTION:
 **/
@RestController
public class TestController extends BaseController {

    @GetMapping("/test")
    public String test(){
        Map<String,String> user = getUser();
        return "test";
    }
}
